<template>
  <div>
    <div>
    <template>
      <el-carousel indicator-position="outside" height="438px" style="width: 100%;">
        <el-carousel-item v-for="url in bannerArr" :key="url" >
          <img :src="url" width="100%" height="438px">
        </el-carousel-item>
      </el-carousel>
    </template>

    <div style="height: 356px;text-align: center">
      <div>
      <img src="@/assets/indexSrdg.png" style="margin: 80px 0 10px 0 ;">
      <img src="@/assets/indexSrpd.png" style="margin: 80px 160px 10px 160px ;">
      <img src="@/assets/indexSrzb.png" style="margin: 80px 0 10px 0 ;">
      </div>
      <div>
        <span style="margin: 80px 0;">生日蛋糕</span>
        <span style="margin: 80px 235px;">生日派对</span>
        <span style="margin: 80px 0;">生日周边</span>
      </div>
      <div style="color:chocolate;font-size: 12px">
        <span style="margin: 80px 0;">birthday cake</span>
        <span style="margin: 80px 225px;">birthday party</span>
        <span style="margin: 80px 0;">party Material</span>
      </div>
      <div style="margin-top: 100px">
        <p>人气经典</p>
        <p style="color:chocolate;font-size: 12px">Popular classic</p>
        <p style="color:chocolate;font-size: 12px">recommend</p>
      </div>
    </div>









    </div>
  </div>
</template>



<script>
export default {
  data() {
    return {
      bannerArr:[
        require("../../assets/indexZmd.png"),
        require("../../assets/indexZmd2.png"),
        require("../../assets/indexZmd3.png"),
        require("../../assets/indexZmd4.png")
      ],
      productArr:[],


    }

  },
  methods: {

  },
  mounted() {

  }
}
</script>


<style>
.el-carousel__item h3 {
  color: #475669;
  font-size: 18px;
  opacity: 0.75;
  line-height: 300px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}
</style>